.text-center{
  text-align: center!important;
}
.text-right{
  text-align: right!important;
}
.text-left{
  text-align: left!important;
}
.parentRow {
  background: #eeeeee;
}

.pointer{
  cursor: pointer;
}
.radius {
  border-radius: 4px;
}
.text-cut {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/*flex 布局*/
.flex {
  display: flex;
}

.basis-xs {
  flex-basis: 20%;
}

.basis-sm {
  flex-basis: 40%;
}

.basis-df {
  flex-basis: 50%;
}

.basis-lg {
  flex-basis: 60%;
}

.basis-xl {
  flex-basis: 80%;
}

.flex-sub {
  flex: 1;
}

.flex-twice {
  flex: 2;
}

.flex-treble {
  flex: 3;
}

.flex-direction {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.align-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: center;
}

.self-end {
  align-self: flex-end;
}

.self-stretch {
  align-self: stretch;
}

.align-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

/*  -- 动画css--  */
.animation-shake {
  animation:0.5s shake 1;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0)
  }
  10% {
    transform: translateX(-9px)
  }
  20% {
    transform: translateX(8px)
  }
  30% {
    transform: translateX(-7px)
  }
  40% {
    transform: translateX(6px)
  }
  50% {
    transform: translateX(-5px)
  }
  60% {
    transform: translateX(4px)
  }
  70% {
    transform: translateX(-3px)
  }
  80% {
    transform: translateX(2px)
  }
  90% {
    transform: translateX(-1px)
  }
}

/*  -- 内外边距 -- */

.margin-0 {
  margin: 0!important;
}

.margin-xs {
  margin: 0.5rem!important;
}

.margin-sm {
  margin: 1rem!important;
}

.margin {
  margin: 1.5rem!important;
}

.margin-lg {
  margin: 2rem!important;
}

.margin-xl {
  margin: 2.5rem!important;
}

.margin-top-xs {
  margin-top: 0.5rem!important;
}

.margin-top-sm {
  margin-top: 1rem!important;
}

.margin-top {
  margin-top: 1.5rem!important;
}

.margin-top-lg {
  margin-top: 2rem!important;
}

.margin-top-xl {
  margin-top: 2.5rem!important;
}

.margin-right-xs {
  margin-right: 0.5rem!important;
}

.margin-right-sm {
  margin-right: 1rem!important;
}

.margin-right {
  margin-right: 1.5rem!important;
}

.margin-right-lg {
  margin-right: 2rem!important;
}

.margin-right-xl {
  margin-right: 2.5rem!important;
}

.margin-bottom-xs {
  margin-bottom: 0.5rem!important;
}

.margin-bottom-sm {
  margin-bottom: 1rem!important;
}

.margin-bottom {
  margin-bottom: 1.5rem!important;
}

.margin-bottom-lg {
  margin-bottom: 2rem!important;
}

.margin-bottom-xl {
  margin-bottom: 2.5rem!important;
}

.margin-left-xs {
  margin-left: 0.5rem!important;
}

.margin-left-sm {
  margin-left: 1rem!important;
}

.margin-left {
  margin-left: 1.5rem!important;
}

.margin-left-lg {
  margin-left: 2rem!important;
}

.margin-left-xl {
  margin-left: 2.5rem!important;
}

.margin-lr-xs {
  margin-left: 0.5rem!important;
  margin-right: 0.5rem!important;
}

.margin-lr-sm {
  margin-left: 1rem!important;
  margin-right: 1rem!important;
}

.margin-lr {
  margin-left: 1.5rem!important;
  margin-right: 1.5rem!important;
}

.margin-lr-lg {
  margin-left: 2rem!important;
  margin-right: 2rem!important;
}

.margin-lr-xl {
  margin-left: 2.5rem!important;
  margin-right: 2.5rem!important;
}

.margin-tb-xs {
  margin-top: 0.5rem!important;
  margin-bottom: 0.5rem!important;
}

.margin-tb-sm {
  margin-top: 1rem!important;
  margin-bottom: 1rem!important;
}

.margin-tb {
  margin-top: 1.5rem!important;
  margin-bottom: 1.5rem!important;
}

.margin-tb-lg {
  margin-top: 2rem!important;
  margin-bottom: 2rem!important;
}

.margin-tb-xl {
  margin-top: 2.5rem!important;
  margin-bottom: 2.5rem!important;
}

.padding-0 {
  padding: 0!important;
}

.padding-xs {
  padding: 0.5rem!important;
}

.padding-sm {
  padding: 1rem!important;
}

.padding {
  padding: 1.5rem!important;
}

.padding-lg {
  padding: 2rem!important;
}

.padding-xl {
  padding: 2.5rem!important;
}

.padding-top-xs {
  padding-top: 0.5rem!important;
}

.padding-top-sm {
  padding-top: 1rem!important;
}

.padding-top {
  padding-top: 1.5rem!important;
}

.padding-top-lg {
  padding-top: 2rem!important;
}

.padding-top-xl {
  padding-top: 2.5rem!important;
}

.padding-right-xs {
  padding-right: 0.5rem!important;
}

.padding-right-sm {
  padding-right: 1rem!important;
}

.padding-right {
  padding-right: 1.5rem!important;
}

.padding-right-lg {
  padding-right: 2rem!important;
}

.padding-right-xl {
  padding-right: 2.5rem!important;
}

.padding-bottom-xs {
  padding-bottom: 0.5rem!important;
}

.padding-bottom-sm {
  padding-bottom: 1rem!important;
}

.padding-bottom {
  padding-bottom: 1.5rem!important;
}

.padding-bottom-lg {
  padding-bottom: 2rem!important;
}

.padding-bottom-xl {
  padding-bottom: 2.5rem!important;
}

.padding-left-xs {
  padding-left: 0.5rem!important;
}

.padding-left-sm {
  padding-left: 1rem!important;
}

.padding-left {
  padding-left: 1.5rem!important;
}

.padding-left-lg {
  padding-left: 2rem!important;
}

.padding-left-xl {
  padding-left: 2.5rem!important;
}

.padding-lr-xs {
  padding-left: 0.5rem!important;
  padding-right: 0.5rem!important;
}

.padding-lr-sm {
  padding-left: 1rem!important;
  padding-right: 1rem!important;
}

.padding-lr {
  padding-left: 1.5rem!important;
  padding-right: 1.5rem!important;
}

.padding-lr-lg {
  padding-left: 2rem!important;
  padding-right: 2rem!important;
}

.padding-lr-xl {
  padding-left: 2.5rem!important;
  padding-right: 2.5rem!important;
}

.padding-tb-xs {
  padding-top: 0.5rem!important;
  padding-bottom: 0.5rem!important;
}

.padding-tb-sm {
  padding-top: 1rem!important;
  padding-bottom: 1rem!important;
}

.padding-tb {
  padding-top: 1.5rem!important;
  padding-bottom: 1.5rem!important;
}

.padding-tb-lg {
  padding-top: 2rem!important;
  padding-bottom: 2rem!important;
}

.padding-tb-xl {
  padding-top: 2.5rem!important;
  padding-bottom: 2.5rem!important;
}